---
layout: default
---

{% for post in paginator.posts %}
<div class="article">
    <div class="well">
        <h1><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%Y年 %m月 %d日" }} - {{ post.title }}</a></h1>
        <!-- <span class="post-tags">
        	{{post.tags}}
        </span> -->
        <div class="content">
            {{ post.excerpt }}
            <div class="author" >
		        {% if site.comments and post.comments %}
		            {% if site.disqus != '' %}
		            <a href="{{ site.baseurl }}{{ post.url }}/#disqus_thread" data-disqus-identifier="{{ post.url | slugify }}">评论</a>
		            {% elsif site.isso != '' %}
		            <a href="{{ site.baseurl }}{{ post.url }}{{ site.isso_suffix }}#isso-thread">评论</a>
		            {% elsif site.changyan.appid != '' and site.changyan.confid != '' %}
		            <a href="{{ site.baseurl }}{{ post.url }}#changyan_thread">评论</a>
		            {% endif %}
		        {% endif %}
		        <div>
			        {% if post.excerpt != post.content %}
		            	<a href="{{ site.baseurl }}{{ post.url }}">阅读全文 ...</a>
			        {% endif %}
		        </div>
            </div>
        </div>
    </div>
</div>
{% endfor %}

<div class="pagination">
  {% if paginator.previous_page %}
      {% if paginator.previous_page == 1 %}
        <a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">上一篇</a>
      {% else %}
        <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">上一篇</a>
      {% endif %}
  {% endif %}
  <span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
  {% if paginator.next_page %}
    <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">下一篇</a>
  {% endif %}
</div>